home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / System 7.0 Samples / CShell⁄THINK C / ! read.me next >
Encoding:
Text File  |  1991-02-20  |  1.8 KB  |  38 lines  |  [TEXT/MPS ]

  1. CSHELL:  Who's To Blame?
  2.  
  3. First, there was Traffic-Light, and then Traffic-Light 2.0, and then
  4. Traffic-Light 3.0, which was a first attempt at a shell application.
  5. Once this was complete, I used it to write Kibitz, and from that
  6. experience, I learned where ShellApp feel a bit short in terms of
  7. being an application framework.
  8.  
  9. CShell is, for the most part, Kibitz with the chess stuff ripped out.
  10. I did add some features to the TextEdit control for printing, sizing,
  11. moving, etc.  I also split some source files into two, so all the code
  12. that the application writer would delete or change could be found in
  13. a single file.  Other than changes like these, the application shell
  14. that Kibitz uses is CShell.
  15.  
  16. For what can be found in which files, check out the CShell.Roadmap file.
  17. This will explain what is in what file, as well as what you will need to
  18. add or change to convert CShell from a do-hardly-anything application
  19. into your own application.
  20.  
  21. There are some really nice things in CShell.  The file I/O unit is
  22. reasonably robust.  The printing is 7.0/AppleEvents savvy.  There are a
  23. number of source files that you may not have to touch at all.  Many
  24. development issues were addressed in CShell, so it can also serve as a
  25. good sample of the beginnings of a Macintosh application.
  26.  
  27. If you don't like the overall structure, there are probably still pieces
  28. that you may want to use.  The TextEdit control is probably one of these.
  29. The code is already separate from the rest of CShell.  (There are no
  30. includes other than the standard Macintosh includes.)  Take what you like
  31. and leave the rest.  I won't be offended.
  32.  
  33. We hwere in DTS are always looking to improve things, so if you find
  34. problems, or if you have suggestions as to how CShell can be more useful,
  35. let us know.  We consider anything here.  All suggestions are welcome.
  36.  
  37. Eric Soldan
  38.